<template>
  <div class="qrcode">
    <el-row :gutter="10">
      <el-col :xs="24" :md="12" :lg="12" :xl="8">
        <el-card class="box-card">
          <template #header>
            <div class="card-header">
              <span>基础二维码</span>
            </div>
          </template>
          <qrcode text="scui"></qrcode>
        </el-card>
      </el-col>
      <el-col :xs="24" :md="12" :lg="12" :xl="8">
        <el-card class="box-card">
          <template #header>
            <div class="card-header">
              <span>自定义颜色</span>
            </div>
          </template>
          <qrcode text="scui" color-dark="#409EFF"></qrcode>
        </el-card>
      </el-col>
      <el-col :xs="24" :md="12" :lg="12" :xl="8">
        <el-card class="box-card">
          <template #header>
            <div class="card-header">
              <span>带logo</span>
            </div>
          </template>
          <qrcode text="scui" logo="img/logo.png"></qrcode>
        </el-card>
      </el-col>
      <el-col :xs="24" :md="12" :lg="12" :xl="8">
        <el-card class="box-card">
          <template #header>
            <div class="card-header">
              <span>自定义大小</span>
            </div>
          </template>
          <qrcode text="jxfadmin" :size="200"></qrcode>
        </el-card>
      </el-col>
    </el-row>
  </div>
</template>

<script setup>
import qrcode from "@/components/jxf/qrcode/index.vue";

</script>

<style lang="scss" scoped>
.qrcode{
  padding: 10px;
  .el-col{
    margin-bottom: 10px;
  }
}
</style>
